<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div>img{
            width: 198px;
            height: 136px;
        }
        body{
            font: 12px "simhei", Arial, Helvetica, sans-serif;
            color: #666;
        }
        body>div{
            width: 198px;
            height: 232px;
            background-color: #e8e8e8;
            color: #666666;
            margin-right: 5.19px;
            box-sizing: border-box;
            text-align: center
        }
        .title_p{
            margin: 0;
            color: #000;
        }
        .price_p{
            margin: 6px 0;
            font-weight: bold;
            color: #0AA1ED;
        }
        a{
            /*如果元素设置为块级元素，则不受上级元素text——align：center影响
            元素的显示位置靠左显示，如果需要让元素居中，可以通过外边距的方式让块级元素居中
            块级元素居中的写法
            display: block;
            margin: 0 auto;*/
            display: block;
            margin: 0 auto;
            width: 100px;
            height: 24px;
            background-color: #0aa1ed;
            color: white;
            text-align: center;
            line-height: 24px;
            border-radius: 3px;
            text-decoration: none;
            font-size: 12px;

        }
    </style>
</head>
<body>
<div>
    <img src="http://doc.vrd.net.cn/tstore_v1/images/itemCat/study_computer_img3.png" alt="">
    <p class="title_p">戴尔(DELL)XPS13-9360-R1609 13.3英 <br> 寸微边框笔记本电脑</p>
    <p class="price_p">￥4600.00</p>
    <a href="">查看详情</a>
</div>
</body>
</html>